import Vue from 'vue';

import VueRouter from "vue-router";
import Login from "../pages/Login";
import Index from "../pages/Index";


const routes = [
    { path: '/login', component: Login },
    { path: '/index', component: Index }
];

Vue.use(VueRouter);

const router = new VueRouter({
    mode:"history",
    routes
});




export default router
